package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.vo.ScenicCommentVO;
import cn.wolfcode.luowowo.common.domain.ScenicComment;
import cn.wolfcode.luowowo.common.query.ScenicCommentObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScenicCommentMysqlService {
    void saveComment(ScenicComment comment);

    List<ScenicComment> query(ScenicCommentObject qo);

    boolean thumbup(Long detailId);

    int getThumbup(Long detailId);

    /**
     * 我的点评
     * @param id
     * @return
     */
    List<ScenicCommentVO> selectRemark(Long id);

    /**
     * 我的点评的数量
     * @param id
     * @return
     */
    int count(Long id);
}
